package com.t2t.top.devops.controller;

import com.t2t.top.devops.model.ResponseDTO;
import com.t2t.top.devops.utils.AppInfoUtils;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/api")
public class AppInfoController {

    @RequestMapping("/info")
    public ResponseDTO info() {
        return ResponseDTO.success().data(AppInfoUtils.info());
    }

}
